import Vue from 'vue'

// 引入vant组件

// 1.底部导航
import { Tabbar, TabbarItem } from 'vant';
Vue.use(Tabbar).use(TabbarItem);

//2.Loading
import { Loading } from 'vant';
Vue.use(Loading);

//3.图片懒加载

//4. 提示
import { Toast } from 'vant';
Vue.use(Toast);

//5. 蒙版提示
import { Dialog } from 'vant'
Vue.use(Dialog);

// 6.订单导航条
import { NavBar } from 'vant';
Vue.use(NavBar);

//7. 添加收件人地址
import { ContactCard, ContactList, ContactEdit } from 'vant';
Vue.use(ContactCard).use(ContactList).use(ContactEdit);
// 地址列表
import { AddressList } from 'vant';
Vue.use(AddressList);
//编辑地址
import { AddressEdit } from 'vant';
Vue.use(AddressEdit);


//8.单元格
import { Cell, CellGroup } from 'vant';
Vue.use(Cell).use(CellGroup);

//9. 提交订单
import { SubmitBar } from 'vant';
Vue.use(SubmitBar);

//10.宫格
import { Grid, GridItem } from 'vant';
Vue.use(Grid).use(GridItem)

//11 弹出层
import { Popup } from 'vant';
Vue.use(Popup);

//12 日期组件
import { DatetimePicker } from 'vant';
Vue.use(DatetimePicker);
